package common

import (
	"github.com/gin-gonic/gin"
)

func ResponseError(c *gin.Context, code int32, message string) {
	c.JSON(200, gin.H{"code": code, "message": message})
	c.Abort()
}
